{template 'member', 'header'}
<script language="javascript" type="text/javascript" src="{JS_PATH}admin_common.js"></script> 
<link href="{CSS_PATH}dialog.css" rel="stylesheet" type="text/css" /> 
<script language="javascript" type="text/javascript" src="{JS_PATH}dialog.js"></script>
<div id="main-content">
<div id="memberArea">
{template 'member', 'left'}
  <div class="right">
    <div class="hd">
      <h3 class="t08"><strong>我的留言</strong> >><a href="#">管理留言</a></h3>
    </div>
	{loop $infos $info} 
<dl>
        <dt><span class="span01">我对凯发装饰公司的留言 <a href="company_lyzx.html" class="colorred">前台查看</a></span></dt>
        <dd><span class="span02"><font class="p12">内容：</font><a href="{APP_PATH}index.php?m=message&c=index&a=read&messageid={$info['messageid']}">{if $info['status']==1}<font color=red><b>{$info['subject']}</b></font>{else}{$info['subject']}{/if}</a></span></dd>
		<dd><span class="span02"><font class="p12">回复：</font>2室房最新签约 <font color="#8a8a8a">2011-03-12 11:33</font> </span></dd>
		<dd><span class="span02"><font class="p12">内容：</font>我觉得你们公司装修一般</span></dd>
		<dd><span class="span02"><font class="p12">回复：</font>2室房最新签约 <font color="#8a8a8a">2011-03-12 11:33</font> </span></dd>
      </dl>
	
{/loop}
<script type="text/javascript">
function read(id, name) {
	window.top.art.dialog({id:'sell_all'}).close();
	window.top.art.dialog({title:'查看详情'+name+' ',id:'edit',iframe:'?m=message&c=index&a=read&messageid='+id,width:'700',height:'450'}, function(){var d = window.top.art.dialog({id:'see_all'}).data.iframe;var form = d.document.getElementById('dosubmit');form.click();return false;}, function(){window.top.art.dialog({id:'see_all'}).close()});
}
function checkuid() {
	var ids='';
	$("input[name='messageid[]']:checked").each(function(i, n){
		ids += $(n).val() + ',';
	});
	if(ids=='') {
		window.top.art.dialog({content:'请选择再执行操作',lock:true,width:'200',height:'50',time:1.5},function(){});
		return false;
	} else {
		myform.submit();
	}
}

</script>

